package com.xiaozhen.driver.service;

import com.xiaozhen.common.core.domain.driver.ParseTcpAttribute;

import java.util.List;

/**
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/9/29 9:26
 * @description:
 */
public interface ParseTcpAttributeService {

    /**
     * 获取属性解析列表
     * @param driverId
     * @return
     */
    List<ParseTcpAttribute> selectAttributeList(Long driverId);

    /**
     * 增
     * @param parseAttribute
     * @return
     */
    int insertAttribute(ParseTcpAttribute parseAttribute);

    /**
     * 改
     * @param parseAttribute
     * @return
     */
    int updateAttribute(ParseTcpAttribute parseAttribute);

    /**
     * 删
     * @param attributeId
     * @return
     */
    int deleteAttributeById(Long attributeId);
}
